package com.xuelang.pipeline.artifact.app.harborv2.xo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Map;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class VulnerabilitySummary {
    /**
     * The number of the fixable vulnerabilities
     */
    private Long fixable;
    /**
     * Numbers of the vulnerabilities with different severity
     */
    private Map<String, Long> summary;
    /**
     * The total number of the found vulnerabilities
     */
    private Long total;
}